package ui.widget

import java.awt.Canvas
import java.awt.Graphics
import java.awt.image.BufferedImage

class PDFImage(var image : BufferedImage) : Canvas() {
    override fun paint(g: Graphics?) {
        //super.paint(g)
        g?.drawImage(image,0,0,this.width,this.height,null)
    }
}